<template>
  <div>
    <el-container>
      <el-header>&nbsp;人力资源管理系统</el-header>
      <el-container class="container">
        <el-aside width="300px">
          <Menu>

          </Menu>
        </el-aside>
      <el-container>
          <el-main>
            <el-row>
              <el-col :span="24"><div class="grid-content"></div></el-col>
            </el-row>
            <el-row>
              <el-col :span="24"><div class="grid-content"></div></el-col>
            </el-row>
            <el-row>
              <el-col :span="24"><div class="grid-content"></div></el-col>
            </el-row>
            <el-row>
              <el-col :span="24"><div class="grid-content"></div></el-col>
            </el-row>
            <el-row>
              <el-col :span="24"><div class="grid-content"></div></el-col>
            </el-row>
            <el-row>
              <el-col :span="24"><div class="grid-content"></div></el-col>
            </el-row>
            <el-row>
              <el-col :span="24"><div class="grid-content">欢迎使用人力资源管理系统</div></el-col>
            </el-row>
          </el-main>
        </el-container>
      </el-container>
    </el-container>
  </div>
</template>

<script>
import{ defineComponent, ref }from 'vue'
import {
  Location,
  Document,
  Menu as IconMenu,
  Setting,
} from '@element-plus/icons-vue'
import Menu from "@/components/Menu";
  export default defineComponent({
    name: "index",
    components: {
      Menu,
      Location,
      Document,
      Setting,
      IconMenu,
    },
    setup() {
      const activeNames = ref(['1'])
      const handleChange = (val) => {
        console.log(val)
      }

      return {
        activeNames,
        handleChange,
      }
    }
  })
</script>

<style scoped>
  .el-header{
    background-color: #409EFF;
    color: #e9eef3;
    text-align: left;
    line-height: 60px;
    font-size: 30px;
  }
  .el-aside {
    background-color: #d3dce6;
    color: var(--el-text-color-primary);
    text-align: center;
    /*line-height: 860px;*/
  }

  .el-main {
    background-color: #e9eef3;
    color: var(--el-text-color-primary);
    text-align: center;
    line-height: 160px;
  }

  body > .el-container {
    margin-bottom: 400px;
  }

  .el-container:nth-child(5) .el-aside,
  .el-container:nth-child(6) .el-aside {
    line-height: 260px;
  }

  .el-container:nth-child(7) .el-aside {
    line-height: 320px;
  }

  .el-row {
    margin-bottom: 20px;
  }

  .el-row :last-child {
     margin-bottom: 0;
   }

  .el-col {
    border-radius: 4px;
  }
  .bg-purple-dark {
    background: #99a9bf;
  }
  .bg-purple {
    background: #d3dce6;
  }
  .bg-purple-light {
    background: #e5e9f2;
  }
  .grid-content {
    border-radius: 4px;
    min-height: 36px;
  }
  .row-bg {
    padding: 10px 0;
    background-color: #f9fafc;
  }

  .high-row{
    min-height: 200px;
  }

  .container{
    min-height: 860px;
  }

  .line {
    width: 70%;
  }

  .line div {
    width: 100%;
    height: 0;
    border-top: 1px solid var(--el-border-color-base);
  }

</style>